<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        class Proson{
            height = 1.88 // 实例属性
            static count = 50 // 加在原型上
            constructor(name,age){
                this.name = name;
                this.age = age;
            }
        }

        const s1 = new Proson('张三',18);
        console.log(s1);
        console.log(Proson);

    </script>

</body>
</html>